<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
	<meta charset="UTF-8">
	<title>配置表管理</title>
	<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
	<jsp:include page="../com/header.jsp"></jsp:include>
	<script type="text/javascript" src="../../js/comm/listcomm.js"></script>
	<script type="text/javascript">
	var contentUrl = root + "cms/configurationTable/findConfigurationTableNEStatusPage";
	var editUrl = 'configurationTableEdit.jsp?id=';
	var operateUrl = root + 'cms/configurationTable/operateConfigurationTableByIds';
	var detailurl=root + 'cms/configurationTable/findConfigurationTableById';
	var topUrl=root + 'cms/configurationTable/operateConfigurationTableByIds';
	function getfilter(){
		var _jsonFilter = "{";
				if(_jsonFilter != "{"){
			_jsonFilter = _jsonFilter.substring(0,_jsonFilter.length - 1);
		}
		_jsonFilter += "}";
		return _jsonFilter;
	}
	</script>
    </head>
    <body>
      <section>
          <div>
              <div class="col-xs-12">
                  <div class="box">
                      <div class="box-body table-responsive" style="clear:both;">
                          <input type="button" value="编辑" id="updateSome" class="btn btn-info">
                          <input type="button" value="查看" id="detailgold" class="btn btn-danger">
                      </div>
                      <div class="box-body table-responsive">
                      <div style="overflow-x:auto;">
                          <table id="example2" class="table table-bordered table-hover">
                              <thead>
                                  <tr>
                                      <th width="30"><input type="checkbox" id="_selectAll" /></th>
          		               		  <th width="80">抽奖所需亲币</th>
				               		  <th width="80">中奖率</th>
				               		  <th width="80">亲币兑换(1RMB)</th>
				               		  <th width="80">一级分销比例</th>
				               		  <th width="80">二级分销比例</th>
				               		  <th width="80">成为vip金额</th>
				               		  <th width="80">首签获亲币/天</th>
				               		  <th width="80">做任务获亲币/次</th>
				               		  <th width="80">评论获亲币</th>
				               		  <th width="80">分享获亲币</th>
				               		  <th width="80">留言获亲币</th>
				               		  <th width="80">义工获亲币</th>
                                  </tr>
                              </thead>
                              <!-- 表格内容 start -->
                              <tbody id="mycontent"></tbody>
                              <!-- 表格内容 end -->
                          </table>
                          </div>
                          <!-- 分页标签 start -->
                          <div class="row page_big_div" id="displayPage"></div>
                          <!-- 分页标签 end -->
                          <script id="tableContentTmple" type="text/x-jsrender">
								<tr>
									<td><input id="ck_{{:id}}" ckId="{{:id}}" ckStatus="{{:status}}" class="ckSelect" type="checkbox" /></td>
									<td><xmp>{{:signin_lottery_coin_per}}</xmp></td>
									<td><xmp>1/{{:signin_winningRate}}</xmp></td>
									<td><xmp>{{:signin_inance_expr_coin}}</xmp></td>
									<td><xmp>{{:distribution1Rate}}</xmp></td>
									<td><xmp>{{:distribution2Rate}}</xmp></td>
									<td><xmp>{{:vipPrice}}</xmp></td>
									<td><xmp>{{:income_expenses_signin_coin}}</xmp></td>
									<td><xmp>{{:income_expenses_task_coin}}</xmp></td>
									<td><xmp>{{:income_expenses_commet_coin}}</xmp></td>
									<td><xmp>{{:income_expenses_share_coin}}</xmp></td>
									<td><xmp>{{:income_expenses_LeaveMessage_coin}}</xmp></td>
									<td><xmp>{{:income_expenses_nurseExperience_coin}}</xmp></td>
								</tr>
						  </script>
                  </div>
              </div>
          </div>
      </section>
       <!-- 详细信息 -->
      <div class="modal fade" id="myModals" tabindex="-1" role="dialog"
		aria-labelledby="myModalLabel" aria-hidden="true">
		<form id="validateForm" class="form-horizontal">
			<div class="modal-dialog">
				<div class="modal-content" style="width:900px;margin-left:-100px;">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal"
							aria-hidden="true">&times;</button>
						<h4 class="modal-title" id="myModalLabel">详细信息</h4>
					</div>
					<div class="modal-body detail">	
					</div>
					<div class="modal-bodyclass">
                       	    <script id="commentContentTmple" type="text/x-jsrender">
                             <div class="form-group">
			                    	<label for="userPhoto2" class="control-label col-md-2">抽奖所需亲币：</label>
			                       	<div class="controls col-md-3" style="line-height:30px;font-weight:normal;">
					                  {{:signin_lottery_coin_per}}
				                    </div>
				                    <label for="userPhoto2" class="control-label col-md-2">中奖率：</label>
				                    <div class="controls col-md-3" style="line-height:30px;font-weight:normal;">
					                  1/{{:signin_winningRate}}
				                    </div>
			                </div>
                             <div class="form-group">
			                    	<label for="userPhoto2" class="control-label col-md-2">亲币兑换(1RMB)：</label>
			                       	<div class="controls col-md-3" style="line-height:30px;font-weight:normal;">
					                 {{:signin_inance_expr_coin}}
				                    </div>
				                    <label for="userPhoto2" class="control-label col-md-2">首签获亲币/天：</label>
				                    <div class="controls col-md-3" style="line-height:30px;font-weight:normal;">
					                 {{:income_expenses_signin_coin}}
				                    </div>
			                </div>
							<div class="form-group">
			                    	<label for="userPhoto2" class="control-label col-md-2">注册送亲币数：</label>
			                       	<div class="controls col-md-3" style="line-height:30px;font-weight:normal;">
					                 {{:income_register_coin}}
				                    </div>
				                    <label for="userPhoto2" class="control-label col-md-2">推荐他人送亲币数：</label>
				                    <div class="controls col-md-3" style="line-height:30px;font-weight:normal;">
					                 {{:income_recommend_coin}}
				                    </div>
			                </div>
                             <div class="form-group">
			                    	<label for="userPhoto2" class="control-label col-md-2">做任务获亲币/次:</label>
			                       	<div class="controls col-md-3" style="line-height:30px;font-weight:normal;">
					                  {{:income_expenses_task_coin}}
				                    </div>
                                    <label for="userPhoto2" class="control-label col-md-2">连续签到等差递增亲币:</label>
			                       	<div class="controls col-md-3" style="line-height:30px;font-weight:normal;">
					                  {{:income_expenses_signin_asc_coin}}
				                    </div>
			                </div>
							<div class="form-group">
			                    	<label for="userPhoto2" class="control-label col-md-2">分享获亲币:</label>
			                       	<div class="controls col-md-3" style="line-height:30px;font-weight:normal;">
					                  {{:income_expenses_share_coin}}
				                    </div>
                                    <label for="userPhoto2" class="control-label col-md-2">留言获亲币:</label>
			                       	<div class="controls col-md-3" style="line-height:30px;font-weight:normal;">
					                  {{:income_expenses_LeaveMessage_coin}}
				                    </div>
			                </div>
							<div class="form-group">
			                    	<label for="userPhoto2" class="control-label col-md-2">义工获亲币/次:</label>
			                       	<div class="controls col-md-3" style="line-height:30px;font-weight:normal;">
					                  {{:income_expenses_nurseExperience_coin}}
				                    </div>
                                    <label for="userPhoto2" class="control-label col-md-2">看视频获亲币/分:</label>
			                       	<div class="controls col-md-3" style="line-height:30px;font-weight:normal;">
					                  {{:income_expenses_watch_viedo_coin}}
				                    </div>
			                </div>
							<div class="form-group">
			                    	<label for="userPhoto2" class="control-label col-md-2">抽奖任务奖励亲币/次:</label>
			                       	<div class="controls col-md-3" style="line-height:30px;font-weight:normal;">
					                  {{:income_expenses_lottery_task_coin}}
				                    </div>
				                    <label for="userPhoto2" class="control-label col-md-2">评论获亲币:</label>
			                       	<div class="controls col-md-3" style="line-height:30px;font-weight:normal;">
					                  {{:income_expenses_commet_coin}}
				                    </div>
			                </div>

							<div class="form-group">
			                    	<label for="userPhoto2" class="control-label col-md-2">一级分销比例:</label>
			                       	<div class="controls col-md-3" style="line-height:30px;font-weight:normal;">
					                  {{:distribution1Rate }}
				                    </div>
                                    <label for="userPhoto2" class="control-label col-md-2">二级分销比例:</label>
			                       	<div class="controls col-md-3" style="line-height:30px;font-weight:normal;">
					                  {{:distribution2Rate }}
				                    </div>
			                </div>

							<div class="form-group">
			                    	<label for="userPhoto2" class="control-label col-md-2">公司电话:</label>
			                       	<div class="controls col-md-3" style="line-height:30px;font-weight:normal;">
					                  {{:cmp_cellPhone}}
				                    </div>
                                    <label for="userPhoto2" class="control-label col-md-2">公司地址:</label>
			                       	<div class="controls col-md-3" style="line-height:30px;font-weight:normal;">
					                  {{:cmp_address}}
				                    </div>
			                </div>
			                <div class="form-group">
			                    	<label class="control-label col-md-2">客服电话:</label>
			                       	<div class="controls col-md-3" style="line-height:30px;font-weight:normal;">
					                  {{:serviceTel}}
				                    </div>
			                </div>
							<div class="form-group">
			                    	<label for="userPhoto2" class="control-label col-md-2">公司简介:</label>
									<div class="col-md-4">
       				   					<textarea class="form-control" id="cmp_intro" name="cmp_intro" rows="12"  data-rule="required;length[1~5000];" value="{{:cmp_intro}}" style="resize:none;width:530px">{{:cmp_intro}}</textarea>
									</div>
			                </div>
                            </script>
                    </div>
                    <div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
					</div>
				</div>
			</div>
		</form>
	</div>
    </body>
</html>